package com.lingo.a2b.service;

import com.lingo.a2b.model.entity.ConnectFieldRelative;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lingo.a2b.model.vo.ConnectFieldRelativeSaveVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lingo
 * @since 2020-05-21
 */
public interface ConnectFieldRelativeService extends IService<ConnectFieldRelative> {

    /**
     * 获取 启用的 关联字段
     * @param fprojectId
     * @return
     */
    List<ConnectFieldRelative> listByProjectId(Integer fprojectId);

    /**
     * 更新/插入 关联字段
     * @param saveVo
     * @return
     */
    Boolean saveOrUpdate(ConnectFieldRelativeSaveVo saveVo);
}
